package nuc.edu.cn.client;

import nuc.edu.cn.service.IProductService;
import nuc.edu.cn.service.IUserService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

@SuppressWarnings({"all"})
public class TestAOP {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("myConfig02.xml");
        IProductService ps = (IProductService) applicationContext.getBean("productService");
        ps.browse("2113042619-赵彦博", "联想笔记本");
    }
}
